package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.util.List;

/**
    * 专项保养检查项操作记录
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_check_special_record")
public class MaintainCheckSpecialRecord extends TenantEntity {
    /**
     * 检查项历史记录id
     */
    @TableField(value = "check_special_history_id")
    private Long checkSpecialHistoryId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 描述
     */
    @TableField(value = "check_desc")
    private String checkDesc;

    /**
     * 图片
     */
    @TableField(value = "img_url",typeHandler = JacksonTypeHandler.class)
    private List<String> imgUrl;

    /**
     * 视频
     */
    @TableField(value = "video_url",typeHandler = JacksonTypeHandler.class)
    private List<String> videoUrl;

    /**
     * 记录数据
     */
    @TableField(value = "record_data")
    private String recordData;

    /**
     * 记录
     */
    @TableField(value = "record")
    private String record;
}
